package com.zgh.manager.module;

import com.xxg.base.module.BaseEntity;

import java.io.Serializable;


public class AutoTask extends BaseEntity implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public static final String TASK_DISPATCH_MODE_INTERVAL="间隔"; 	
	public static final String TASK_DISPATCH_MODE_TIMER="定时";
	
	private Long id;				//id
	private String systemName;  //系统名称
	private String syetemCode;  //系统编码
	private int clusterNode; 	//集群节点
	private String taskName;		//任务名
	private String dispatchMode;	//调度方式（定时，间隔）
	private String dispatchParams;	//调度参数
	private String ifCanHand;		//是否能手工启动
	private String status;			//是否启用
	private int level;				//级别
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getSystemName() {
		return systemName;
	}
	public void setSystemName(String systemName) {
		this.systemName = systemName;
	}
	public String getSyetemCode() {
		return syetemCode;
	}
	public void setSyetemCode(String syetemCode) {
		this.syetemCode = syetemCode;
	}
	public int getClusterNode() {
		return clusterNode;
	}
	public void setClusterNode(int clusterNode) {
		this.clusterNode = clusterNode;
	}
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public String getDispatchMode() {
		return dispatchMode;
	}
	public void setDispatchMode(String dispatchMode) {
		this.dispatchMode = dispatchMode;
	}
	public String getDispatchParams() {
		return dispatchParams;
	}
	public void setDispatchParams(String dispatchParams) {
		this.dispatchParams = dispatchParams;
	}
	public String getIfCanHand() {
		return ifCanHand;
	}
	public void setIfCanHand(String ifCanHand) {
		this.ifCanHand = ifCanHand;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}

}
